package jian.java.Object.constructor;

/**
 * 测试构造函数的继承
 * 
 * @author Jian
 * 
 */
public class ConstructExtend {

	public static void main(String[] args) {
		// ConstructorFather father = new ConstructorFather();
		ConstructorSon son = new ConstructorSon();
		// ConstructorSon son1 = new ConstructorSon(1); // compiled error

		ConstructorGrandson grandson = new ConstructorGrandson();

	}
}
